package operation;

import book.BookList;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Home-pc
 * Date: 2023-08-17
 * Time: 10:52
 */
public class ShowOperation implements  IOperation{
    @Override
    public void work(BookList bookList) {
        for (int i = 0; i < bookList.getUsedSized(); i++) {
            System.out.println(bookList.getBooks(i));
        }
    }
}
